package cn.view;
import static cn.Data.Global.*;
import javax.swing.JFrame;

public class TestFrame extends JFrame{
	
	
	public TestFrame() throws InterruptedException {
		
		Battlefield battlefield=new Battlefield();
		this.add(battlefield);
		this.setSize(BATTLEFIELD_WIDTH, BATTLEFIELD_HEIGHT);
		this.setVisible(true);
		this.setResizable(false);
		this.setDefaultCloseOperation(EXIT_ON_CLOSE);
		battlefield.requestFocus();

		
	}
	
	
	public static void main(String[] args) throws InterruptedException {
		new TestFrame();
	}
}
